package com.eostoken.eos_wallet.ui.activity;

import androidx.core.content.ContextCompat;
import androidx.fragment.app.Fragment;

import com.blankj.utilcode.util.BarUtils;
import com.blankj.utilcode.util.FragmentUtils;
import com.eostoken.eos_wallet.R;
import com.eostoken.eos_wallet.base.BaseActivity;
import com.eostoken.eos_wallet.ui.fragment.ResourceAdministrationFragment;
import com.eostoken.eos_wallet.ui.fragment.VoteFragment;
import com.eostoken.eos_wallet.ui.fragmentfactory.FragmentFactory;
import com.fredy.mvp.BasePresenter;
import com.fredy.mvp.BaseView;
import com.fredy.mvp.Model;

import static com.eostoken.eos_wallet.utils.Constants.VOTE;

public class VoteActivity extends BaseActivity {

    @Override
    protected void initData() {

    }

    @Override
    public void initView() {
        BarUtils.setStatusBarColor(this, ContextCompat.getColor(this, R.color.app_color_blue));
        BarUtils.setStatusBarLightMode(this, false);
        FragmentUtils.add(getSupportFragmentManager(), FragmentFactory.getInstatic().getFragment(VOTE), R.id.frag_container);
    }

    @Override
    public int getContentView() {
        return R.layout.activity_child;
    }

    @Override
    public Model createModel() {
        return null;
    }

    @Override
    public BaseView createView() {
        return null;
    }

    @Override
    public BasePresenter createPresenter() {
        return null;
    }

    @Override
    public boolean isShowState() {
        return true;
    }
}
